Fix uninitialized variable warning
authorJiri Palecek <jpalecek@web.de>
Thu, 25 Jul 2024 07:32:37 +0000 (09:32 +0200)
committerAurélien COUDERC <coucouf@debian.org>
Thu, 25 Jul 2024 07:32:37 +0000 (09:32 +0200)
commit11f086ff5864b544257e7e4360303a75aced1046
tree9fa71b0baf61a829af7806bb361dbe27e8aea3fa
parentc1989f7b6bc1d1328800256c75f27c5f10f38a54
Fix uninitialized variable warning

Last-Update: 2020-06-04

If the YUV format isn't found, the code depends on .format being
0. However, it was not initialized at all, so this patch initializes
the format member. The other members need not be initialized.
Last-Update: 2020-06-04
Gbp-Pq: Name uninitialized-yuvformat.patch
src/platformsupport/scenes/opengl/egl_dmabuf.cpp